// import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import VuexSaga from 'vuex-saga';
import FastClick from 'fastclick';
import Icon from 'vue-svg-icon/Icon.vue';
import VueScroller from 'vue-scroller';

Vue.use(VueScroller);
Vue.use(VuexSaga, {store: store});

Vue.config.productionTip = false;
Vue.config.debug = true;
Vue.config.devtools = true;
import  { ConfirmPlugin } from 'vux'
Vue.use(ConfirmPlugin)
Vue.component('icon', Icon);
if('ontouchstart' in window) {
    FastClick.attach(document.body);
}
/* eslint-disable no-new */
new Vue({
    el: '#app', 
    router, 
    template: '<App/>', 
    components: {
        App
    }
});
